package com.yxxk.model;

public class Admin {
    private Integer id;

    private String username;

    private Long phone;

    private String password;

    private String userrole;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getUserrole() {
        return userrole;
    }

    public void setUserrole(String userrole) {
        this.userrole = userrole == null ? null : userrole.trim();
    }
    @Override
	public String toString() {
		return "Admin [id=" + id + ", userName=" + username + ", phone=" + phone + ", password=" + password
				+ ", userRole=" + userrole + "]";
	}
	
}